package cn.edu.zzuli.common.result;


import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@NoArgsConstructor
public class ResultInfo {

    public ResultInfo(Integer code){
        this.code = code;
    }

    private Integer code;

    private String msg = "success";

    private Object data;

}
